﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<VCC.Site.ViewModels.ArticleDetailViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%=Html.Encode(Model.Article != null? Model.Article.Title : "The article not exist!")%>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="Wrapper">
        <div class="Breadcrumb" id="Breadcrumb">
            <ul>
                <li class="first"><a href="/Home">Home</a></li>
                <li><span><%=Html.Encode(Model.Article != null? Model.Article.Title : "The article not exist!")%></span></li>      
            </ul>
        </div>
        <div class="left" id="cphMain_ctl00_LeftPane">
            <%Html.RenderPartial("~/Views/Shared/LeftContent.ascx");%>
        </div>
        <div style="width: 764px; float: left;">
            <div class="Right">
                <div class="entry-content">
                <%if (Model.Article != null)
                  {%>
                    <div class="ct_title">
                        <p style="padding-bottom:5px;" class="bigheader" ><%=Html.Encode(Model.Article.Title)%></p>
                    </div>
                    <%=Model.Article.ArticleContent%>
                    <%}
                  else
                  {%>
                  <div class="ct_title">
                        <p style="padding-bottom:5px;" class="bigheader" >The article not exist!</p>
                    </div>
                    <%} %>
                    
                </div>
	        </div>
        </div>
    </div>
</asp:Content>
